From de42416ac24ce6651e10cfb9f60a1e92ed3a4873 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 30 May 2007 16:11:48 +0000 Subject: [PATCH] Supply the current GError for fatal_error_handler(). (#441443) 2007-05-30 Chris Wilson * io-jpeg.c (gdk_pixbuf__jpeg_image_stop_load): Supply the current GError for fatal_error_handler(). (#441443) svn path=/trunk/; revision=17989 --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/io-jpeg.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 627fdb0a29..fffad76d50 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2007-05-30 Chris Wilson + + * io-jpeg.c (gdk_pixbuf__jpeg_image_stop_load): + Supply the current GError for fatal_error_handler(). (#441443) + 2007-05-24 Matthias Clasen * === Released 2.11.0 === diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index 6a1fde0b1e..b88675c98f 100644 --- a/gdk-pixbuf/io-jpeg.c +++ b/gdk-pixbuf/io-jpeg.c @@ -692,6 +692,7 @@ gdk_pixbuf__jpeg_image_stop_load (gpointer data, GError **error) g_object_unref (context->pixbuf); /* if we have an error? */ + context->jerr.error = error; if (sigsetjmp (context->jerr.setjmp_buffer, 1)) { retval = FALSE; } else { -- 2.30.2